.class Lcom/brixd/niceapp/community/activity/SelectTagActivity$4;
.super Ljava/lang/Object;
.source "SelectTagActivity.java"

# interfaces
.implements Lcom/niceapp/lib/tagview/TagListView$OnTagCheckedChangedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/activity/SelectTagActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/activity/SelectTagActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/activity/SelectTagActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/activity/SelectTagActivity;

    .prologue
    .line 130
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/SelectTagActivity$4;->this$0:Lcom/brixd/niceapp/community/activity/SelectTagActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTagCheckedChanged(Lcom/niceapp/lib/tagview/TagView;Lcom/niceapp/lib/tagview/Tag;)V
    .registers 6
    .param p1, "tagView"    # Lcom/niceapp/lib/tagview/TagView;
    .param p2, "tag"    # Lcom/niceapp/lib/tagview/Tag;

    .prologue
    const/4 v2, 0x0

    .line 134
    invoke-virtual {p2}, Lcom/niceapp/lib/tagview/Tag;->isChecked()Z

    move-result v0

    if-eqz v0, :cond_24

    .line 135
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/SelectTagActivity$4;->this$0:Lcom/brixd/niceapp/community/activity/SelectTagActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/SelectTagActivity;->mSelectedCount:I
    invoke-static {v0}, Lcom/brixd/niceapp/community/activity/SelectTagActivity;->access$500(Lcom/brixd/niceapp/community/activity/SelectTagActivity;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    const/4 v1, 0x6

    if-le v0, v1, :cond_1e

    .line 136
    invoke-virtual {p1, v2}, Lcom/niceapp/lib/tagview/TagView;->setChecked(Z)V

    .line 137
    invoke-virtual {p2, v2}, Lcom/niceapp/lib/tagview/Tag;->setChecked(Z)V

    .line 138
    const-string v0, "\u6807\u7b7e\u6700\u591a\u9009\u62e96\u4e2a\u5662"

    invoke-static {v0}, Lcom/brixd/niceapp/util/ToastUtils;->show(Ljava/lang/String;)V

    .line 146
    :goto_1d
    return-void

    .line 140
    :cond_1e
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/SelectTagActivity$4;->this$0:Lcom/brixd/niceapp/community/activity/SelectTagActivity;

    # operator++ for: Lcom/brixd/niceapp/community/activity/SelectTagActivity;->mSelectedCount:I
    invoke-static {v0}, Lcom/brixd/niceapp/community/activity/SelectTagActivity;->access$508(Lcom/brixd/niceapp/community/activity/SelectTagActivity;)I

    goto :goto_1d

    .line 144
    :cond_24
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/SelectTagActivity$4;->this$0:Lcom/brixd/niceapp/community/activity/SelectTagActivity;

    # operator-- for: Lcom/brixd/niceapp/community/activity/SelectTagActivity;->mSelectedCount:I
    invoke-static {v0}, Lcom/brixd/niceapp/community/activity/SelectTagActivity;->access$510(Lcom/brixd/niceapp/community/activity/SelectTagActivity;)I

    goto :goto_1d
.end method
